<?php
<object class="close_payment" name="close_payment" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Record Payment</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">336</property>
  <property name="IsMaster">0</property>
  <property name="Name">close_payment</property>
  <property name="Width">664</property>
  <property name="OnCreate">close_paymentCreate</property>
  <object class="Label" name="lblType" >
    <property name="Caption">Type:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">67</property>
    <property name="Name">lblType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">68</property>
    <property name="Width">36</property>
  </object>
  <object class="ComboBox" name="cmbType" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">105</property>
    <property name="Name">cmbType</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">64</property>
    <property name="Width">170</property>
  </object>
  <object class="Label" name="lblDate" >
    <property name="Caption">Date:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">67</property>
    <property name="Name">lblDate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">104</property>
    <property name="Width">35</property>
  </object>
  <object class="DateTimePicker" name="dpDate" >
    <property name="Caption">dpDate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">20</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">105</property>
    <property name="Name">dpDate</property>
    <property name="ParentFont">0</property>
    <property name="Top">100</property>
    <property name="Width">170</property>
  </object>
  <object class="Label" name="lblDescription" >
    <property name="Caption">Description:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">33</property>
    <property name="Name">lblDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">139</property>
    <property name="Width">72</property>
  </object>
  <object class="Label" name="lblComments" >
    <property name="Caption">Comments:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">33</property>
    <property name="Name">lblComments</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">170</property>
    <property name="Width">69</property>
  </object>
  <object class="Memo" name="memoComments" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">89</property>
    <property name="Left">105</property>
    <property name="Lines">a:0:{}</property>
    <property name="Name">memoComments</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">6</property>
    <property name="Top">170</property>
    <property name="Width">465</property>
  </object>
  <object class="Label" name="lblAmount" >
    <property name="Caption">Amount:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">319</property>
    <property name="Name">lblAmount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">68</property>
    <property name="Width">51</property>
  </object>
  <object class="Edit" name="edAmount" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">376</property>
    <property name="Name">edAmount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">68</property>
    <property name="Width">194</property>
  </object>
  <object class="Label" name="lblAccount" >
    <property name="Caption">Account:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">320</property>
    <property name="Name">lblAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">103</property>
    <property name="Width">51</property>
  </object>
  <object class="ComboBox" name="cmbAccount" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">376</property>
    <property name="Name">cmbAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">99</property>
    <property name="Width">194</property>
  </object>
  <object class="Image" name="Image3" >
    <property name="Border">0</property>
    <property name="Height">30</property>
    <property name="ImageSource">image/complete_reminder.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image3</property>
    <property name="Visible">image/add_expense.png</property>
    <property name="Width">664</property>
  </object>
  <object class="HiddenField" name="hiddenVeh" >
    <property name="Height">18</property>
    <property name="Left">215</property>
    <property name="Name">hiddenVeh</property>
    <property name="Top">34</property>
    <property name="Width">185</property>
  </object>
  <object class="HiddenField" name="hiddenReminder" >
    <property name="Height">18</property>
    <property name="Left">21</property>
    <property name="Name">hiddenReminder</property>
    <property name="Top">34</property>
    <property name="Width">185</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="Caption">Submit</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">32</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">278</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">112</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">8</property>
    <property name="Top">278</property>
    <property name="Width">75</property>
    <property name="jsOnClick">btnCancelJSClick</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function AjaxAccount2(ac,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('paymentaccountajax.php','cmbAccount',compid);
  AjaxAccount('paymentaccountajax.php','listAccount',compid);

  }
  }
  var url='addpaymentaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}
]]></property>
    <property name="Height">20</property>
    <property name="Left">201</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">273</property>
    <property name="Width">180</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function AjaxAccount(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">201</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">294</property>
    <property name="Width">180</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript3" >
    <property name="Code"><![CDATA[function AjaxAccount3(ac,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('paymentaccountajax.php','cmbAccount',compid);
  AjaxAccount('paymentaccountajax.php','listAccount',compid);
  }
  }
  var url='delpaymentaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">201</property>
    <property name="Name">JTJavaScript3</property>
    <property name="Top">316</property>
    <property name="Width">180</property>
  </object>
  <object class="Button" name="btnShowAccount" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add account</property>
    <property name="Left">570</property>
    <property name="Name">btnShowAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">4</property>
    <property name="Top">99</property>
    <property name="Width">20</property>
    <property name="OnClick">btnShowAccountClick</property>
    <property name="jsOnClick">btnShowAccountJSClick</property>
  </object>
  <object class="JTDivWindow" name="JTDivAccount" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Account</property>
    <property name="Height">251</property>
    <property name="Left">288</property>
    <property name="Name">JTDivAccount</property>
    <property name="SiteTheme"></property>
    <property name="Top">68</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox4" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox4</property>
      <property name="SiteTheme"></property>
      <property name="Top">33</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listAccount" >
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">41</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edAccount" >
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelAccountJSClick</property>
      </object>
      <object class="Button" name="btnAddAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#FFFFFF</property>
        <property name="Font">
                <property name="Color">#000000</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddAccountJSClick</property>
      </object>
    </object>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">408</property>
    <property name="Name">compid</property>
    <property name="Top">34</property>
    <property name="Width">200</property>
  </object>
  <object class="Edit" name="edDescription" >
    <property name="Color">#000000</property>
    <property name="Height">21</property>
    <property name="Left">105</property>
    <property name="Name">edDescription</property>
    <property name="ParentColor">0</property>
    <property name="Top">135</property>
    <property name="Width">465</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">609</property>
        <property name="Top">13</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
